<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" />
		<link rel="stylesheet" href="${pageContext.request.contextPath }/css/Site.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath }/css/zy.all.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath }/css/font-awesome.min.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath }/css/amazeui.min.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath }/css/admin.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath }/css/zy.menu.css" />
		<style>

		</style>

		<body>
			<div class="dvcontent">

				<div>
					<!--tab start-->
					<div class="tabs">
						<div class="hd">
							<ul style="">
								<li style="box-sizing: initial;-webkit-box-sizing: initial;" class="on">操作员信息修改</li>
							</ul>
						</div>
						<div class="bd">
							<ul class="theme-popbod dform" style="display: none;">
									<!-- content start -->

									<div class="am-cf admin-main" style="padding-top: 0px;">
										<!-- content start -->
										<div class="admin-content">
											<div class="admin-content-body">

												<div class="am-g">
													<div class="am-u-sm-12 am-u-md-4 am-u-md-push-8">

													</div>
													<div class="am-u-sm-12 am-u-md-8 am-u-md-pull-4" style="padding-top: 30px;">
														<form class="am-form am-form-horizontal" action="${pageContext.request.contextPath }/loc/update_ope" method="post">
															<input type="hidden" name="stackremianed" value="0">
															<div class="am-form-group">
																<label for="name" class="am-u-sm-3 am-form-label">操作员编号</label>
																<div class="am-u-sm-9">
																	<input type="text" required placeholder="操作员编号" name="id" value="${loc.id}">
																</div>
															</div>

															<div class="am-form-group">
																<label for="name" class="am-u-sm-3 am-form-label">操作员姓名</label>
																<div class="am-u-sm-9">
																	<input type="text" required placeholder="操作员姓名" name="name" value="${loc.name }">
																</div>
															</div>

															<div class="am-form-group">
																<label for="name" class="am-u-sm-3 am-form-label">密码</label>
																<div class="am-u-sm-9">
																	<input type="text"  required placeholder="密码" name="password" value="${loc.password }">
																</div>
															</div>



															<div class="am-form-group">
																<label for="name" class="am-u-sm-3 am-form-label">年龄</label>
																<div class="am-u-sm-9">
																	<input type="text"  required placeholder="年龄" name="age" value="${loc.age }">
																</div>
															</div>
															<div class="am-form-group">
																<label for="name" class="am-u-sm-3 am-form-label">电话</label>
																<div class="am-u-sm-9">
																	<input type="text"  required placeholder="电话" name="phone" value="${loc.phone }">
																</div>
															</div>
															<div class="am-form-group">
																<label for="name" class="am-u-sm-3 am-form-label">邮箱</label>
																<div class="am-u-sm-9">
																	<input type="text"  required placeholder="邮箱" name="email" value="${loc.email }">
																</div>
															</div>

															<div class="am-form-group">
																<div class="am-u-sm-9 am-u-sm-push-3">
																	<input type="submit"  class="am-btn am-btn-success" value="添加" onclick="return check();"/>
																	<input type="submit"  class="am-btn am-btn-success" value="返回" onclick="window.location='${pageContext.request.contextPath }/loc/findAll_ope'"/>
																</div>
															</div>
														</form>
													</div>
												</div>
											</div>

										</div>
										<!-- content end -->
									</div>
									<!-- end-->
							</ul>
							</div>
						</div>
						<!--tab end-->

					</div>

					<script src="${pageContext.request.contextPath }/js/jquery-1.7.2.min.js" type="text/javascript"></script>
					<script src="${pageContext.request.contextPath }/js/plugs/Jqueryplugs.js" type="text/javascript"></script>
					<script src="${pageContext.request.contextPath }/js/_layout.js"></script>
					<script src="${pageContext.request.contextPath }/js/plugs/jquery.SuperSlide.source.js"></script>
					
					<script>
						var num = 1;
						$(function() {

							$(".tabs").slide({
								trigger: "click"
							});

						});

					</script>
					<script type="text/javascript">function check() {
						var sel_type = document.getElementById('sel_type');
						
						 if(sel_type.value == 0) {
							alert("请选择库位类型");
							return false;
						}
						 else {
							return true;
						} 
						
		             }</script>
					
				</div>
		</body>

</html>